.dashboard-container {
  min-height: calc(100vh - 64px);
  background-color: #f0f2f5;
}

.dashboard-content {
  padding: 24px;
}

.dashboard-title {
  margin-bottom: 24px;
  color: #1a1a1a;
  font-size: 24px;
  font-weight: 500;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(375px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.chart-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.chart {
  width: 100%;
  height: 500px;
}

.temperature-chart {
  height: 600px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  font-size: 18px;
  color: #666;
}

.error {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  color: #ff4d4f;
  font-size: 16px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0 16px;
}

.chart-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.dashboard-herder {
  display: flex;
  margin-top: 20px;
  gap: 20px;
  margin-bottom: -20px;
  /* padding: 0 16px; */
}

.dashboard-title + .dashboard-title {
  margin-top: 40px;
}

.dashboard-grid.single-chart {
  grid-template-columns: 1fr;  /* 单列布局 */
  margin-top: 24px;
}

.single-chart .chart {
  height: 400px;  /* 调整高度 */
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .chart {
    height: 300px;
  }
} 